package cn.softcits.thread;

/**
 * @author Rocket
 * @version 10.0.1
 * @date 2021-07-04 10:01 AM
 */
public class Thread02 implements Runnable {
    @Override
    public void run() {
        System.out.println(Thread.currentThread().getName() + " is running.");
    }


    public static void main(String[] args) {
        Thread02 t02 = new Thread02();
        Thread th = new Thread(t02, "runnable thread ");
        th.start();

    }
}
